package com.xquant.marketdata.marketdata.mapper;

import com.xquant.marketdata.marketdata.domain.*;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @Auther: B946
 * @Date: 23/12/2019 10:16
 * @Description:
 */
@Repository
public interface TcmdtMapper {

    List<CmdtInfoDTO> queryTcmdtInfoByPage(Map<String, Object> params);

    List<CmdtPriceDTO> queryTcmdtPriceByPage(Map<String, Object> params);

    List<TcmdtfutureDTO> selectTcmdtfutureList(Map<String, Object> params);

    List<TcmdtfuturePriceDTO> selectTcmdtfuturePriceList(Map<String, Object> params);

    List<TcmdtdelPriceDTO> selectTcmdtdelPriceList(Map<String, Object> params);

    List<TcmdtdelDTO> selectTcmdtdelList(Map<String, Object> params);

    void updateTcmdtPrice(CmdtPriceDTO cmdtPriceDTO);

    void updateTcmdtFuturePrice(TcmdtfuturePriceDTO tcmdtfuturePriceDTO);

    void updateTcmdtDelPrice(TcmdtdelPriceDTO tcmdtdelPriceDTO);

}
